package com.zhonglz.designPattern.chain;

/***
 * 设计模式---责任链模式
 * 注意：学习中简单demo
 * @author zhonglz
 */
public class TestFilterDemo {
	
	public static void main(String[] args) {
		FilterChainImpl chain = new FilterChainImpl();
		chain.append(new FilterImpl3());
		chain.append(new FilterImpl2());
		chain.append(new FilterImpl1());
		chain.execute();
	}
}